11.1 AT+CGACT PDP context activate or deactivate
GSM 07.07 The write command is used to activate or deactivate the specified PDP context(s). After the command has completed, the MT remains in V.250 command state. If any PDP context is already in the requested state, the state for that context remains unchanged. If the MT is not GPRS attached when the activation form of the command is executed, the MT first performs a GPRS attach and then attempts to activate the specified contexts. If no <cid>s are specified the activation/deactivation form of the command activates/deactivates all defined contexts.
<state>(num)
<cid>(num)PDP Context Identifier is a numeric parameter which specifies a particular PDP context definition. The parameter is local to the TE-MT interface and is used in other PDP context related commands.
• ATH will deactivate any PDP context.
• A maximum of 2 contexts can be activated at the same time, no matter on which interface. Trying to activate more than 2 contexts will cause "+CME ERROR: operation temporary not allowed". Note that, depending on the provider, the number of activated contexts may be further restricted.
Remember that contexts may be activated implicitly by using the ATD*98# or ATD*99# GPRS compatibility commands without specifying a <cid>.
• If an activated context will be deactivated without using the command AT+CGACT, then the result code "NO CARRIER" will be issued to indicate the context deactivation. This happens for example if the context deactivation is forced by the network or if deactivation results from a network deregistration with AT+COPS=2.
|